<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="leagal_aid.bean.*,java.util.*" %>
<%
int id =Integer.parseInt(request.getParameter("id"));

MessageBean messageBean = new MessageBean();
messageBean = messageBean.findAllById(id);
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>在线留言</title>
        <link rel="stylesheet" href="../css/xadmin.css">
<style type="text/css">
body{
	color:black;
	font-family: 微软雅黑;
	background-color: #f7f7f7;
}
.message_top{
	text-align:center;
	margin-top:3%;
	margin-bottom: 3%;
}
.message_center{
	width:100%;
}
.message_information{
	float:left;
	width:33%;
	text-align:center;
	font-size: 1.2vw;
}
.message_down{
	color: #000000ba;
	padding-top:1%;
	padding-left:1%;
	padding-right:1%;
	text-indent:50px;
	margin: 82px 60px 20px 60px;
	min-height: 450px;
	border: 1px solid #7dadb5;
}
</style>
</head>
<body>
<div class="message_top"><h1>在 线 留 言</h1></div>
<div class="message_center">
<div class="message_information">姓名：<%=messageBean.getName() %></div>
<div class="message_information">电子邮箱：<%=messageBean.getEmail() %></div>
<div class="message_information">电话：<%=messageBean.getTelephone() %></div>
</div>
<div class="message_down"><%=messageBean.getContent() %></div>

                        <div class="layui-card-header" style="text-align: center;padding-bottom: 20px;">
                            <a href="message.jsp"><button class="layui-btn" style="width: 300px;">返回上一页</button></a>
                        </div>
</body>
</html>